import { CommonModule } from '@angular/common'
import { NgModule } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { MatButtonModule, MatFormFieldModule, MatInputModule } from '@angular/material'
import { MobxAngularModule } from 'mobx-angular'
import { ActionsComponent } from './actions/actions.component'
import { BalanceComponent } from './balance/balance.component'
import { BankRoutingModule } from './bank-routing.module'
import { BankComponent } from './bank.component'
import { Account } from './stores/account.store'
import { TransactionsComponent } from './transactions/transactions.component'

@NgModule({
  imports: [
    CommonModule,
    BankRoutingModule,
    FormsModule,
    MobxAngularModule,

    MatFormFieldModule,
    MatButtonModule,
    MatInputModule,
  ],
  providers: [ Account ],
  declarations: [ BalanceComponent, ActionsComponent, TransactionsComponent, BankComponent ],
})
export class BankModule {
}
